package com.wanshu.dao;

import com.wanshu.entity.Role;
import com.wanshu.entity.User;

import java.util.List;

public interface RoleDao {
    public List<Role> findAll();

    public Role findById(Integer id);

    public Integer insert(Role role);

    public Integer update(Role role);

    public Integer delete(Integer id);
}
